﻿using System;
using BinarySerialization;

namespace EditMode
{
    /// <summary>
    /// Differnt tuplet types used in edit tuplet area.
    /// </summary>
    public enum Tuplet : uint
    {
        Triplet = 0x01,
        Sextuplet = 0x02,
    }

    /// <summary> 
    /// Tuplet placement area instruction. 
    /// </summary> 
    [Serializable]
    public class TupletArea
    {
        [FieldOrder(0)]
        public ushort BarIndex { get; set; }

        [FieldOrder(1)]
        public ushort BeatIndex { get; set; }

        [FieldOrder(2)]
        public Tuplet Type { get; set; }

        [FieldOrder(3)]
        public uint ColorID { get; set; }
    }
}
